import { defineStore } from "pinia";
/// 挂号人员信息
const useRegUserStore = defineStore('registersUserInfo', {
    state: () => ({
        count: 0,
        regInfo: null,
    }),
    actions: {
      setRegInfo(info) {
        this.regInfo = info
      },
      increment() {
        this.count++;
      },
      decrement() {
        this.count--;
      },
    },

    persist: {
        enabled: true
    }
  });

  export default useRegUserStore